@import '~less/mixin.less';

.modal {
  margin: 34px;

  :global {
    .ant-modal {
      @media (max-width: 767px) {
        width: 100% !important;
        margin: 0;
      }
    }
    .ant-modal-content {
      background:linear-gradient(180deg,rgba(214,40,40,1),rgba(175,24,24,1));
      box-shadow:0px 3px 15px 0px rgba(0,0,0,0.4);
      border-radius: 9px;

      &:after {
        content: '';
        position: absolute;
        top: 18px;
        right: 18px;
        left: 18px;
        height: 223px;
        background: url('./img/bg.png') no-repeat center center;
        background-size: contain;
      }
    }
    .ant-modal-body {
      padding: 60px 29px 40px;
    }
  }

  h1 {
    text-align: center;
    margin: 0 0 22px;
    color: #FFDB1B;
    font-weight: 600;
    font-size: 42px;
    line-height: 1.15;
  }

  .box {
    box-shadow:inset 0px 1px 5px 0px rgba(23,23,23,0.1);
    border-radius: 5px;
    background: #B00E0E;
    text-align: center;
    padding: 16px;
    color: #fff;
    margin-bottom: 30px;

    p {
      line-height: 1.2;
      margin: 0 0 8px;
      font-size: 20px;
    }

    h2 {
      margin: 0;
      font-size: 30px;
      color: #fff;
      line-height: 1.15;
    }
  }

  .tip {
    color: fade(#fff, 80%);
    text-align: center;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
  }

  .tip-pay {
    text-align: center;

    p {
      color: #FFDB1B;
      font-size: 16px;
      margin: 0 0 10px;
    }
    h3 {
      font-size: 20px;
      font-weight: 500;
      color: #fff;
    }
  }

  .ok {
    display: block;
    width: 100%;
    height: 43px;
    line-height: 43px;
    font-size: 17px;
    box-shadow:0px 5px 7px 0px rgba(159,20,20,1);
    border-radius: 5px;
    background: #FFDB1B;
    padding: 0 10px;
    text-align: center;
    color: #BA1A1A;

    .text-overflow();
  }
}
